package com.nuc.test1;

/**
 * Time    : 2023/3/29 22:06
 * Author  : 王摇摆
 * FileName: Test2.java
 * Software: IntelliJ IDEA 2020.2.2
 * Blog    ：https://blog.csdn.net/weixin_44943389?type=blog
 */

public class Test2 {
    public static void main(String[] args) {
        String str = String.format("%s今年%d岁。", "小李", 30);
        System.out.println(str);
    }
}
